package function;

import book.BookList;

public class FindAll implements Function{
    @Override
    public void work(BookList bookList) {
        System.out.println("查看所有图书情况");
        for (int i = 0; i < bookList.num; i++) {
            System.out.println(bookList.books[i]);
        }
    }
}
